package com.bw.login

import android.content.Intent
import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import com.alibaba.android.arouter.launcher.ARouter
import com.bw.base.app.RoutePath
import com.bw.common.mvi.BaseMviActivity
import com.bw.login.databinding.ActivityOtherBinding
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
class OtherActivity : BaseMviActivity<ActivityOtherBinding>() {
    override fun getLayoutId(): Int {
        return R.layout.activity_other
    }

    override fun initViews() {
        mDataBinding.btnQuickLogin.setOnClickListener {
            ARouter.getInstance().build((RoutePath.PATH_MAIN_PAGE)).navigation()
        }
        mDataBinding.btnOtherLogin.setOnClickListener {
            startActivity(Intent(this, OhterPhoneActivity::class.java))
        }
    }
}